import 'package:aitao_flutter/routes/routes.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class PassWordLoginController extends GetxController {
  TextEditingController phoneController = TextEditingController();
  TextEditingController passwordController = TextEditingController();

  /// 返回验证码登录
  void backCodeLogin() {
    Get.back();
  }

  /// 注册
  void registerClick() {
    Get.toNamed(Routes.registerPage);
  }

  /// 忘记密码
  void forgetClick() {
    Get.toNamed(Routes.forgetPasswordPage);
  }
}
